<div>
    <div class="action-bar">
        <div class="form-inline">
            <div class="form-group">
                <label for="exampleInputName2">订单编号</label>
                <input type="text" class="form-control" id="exampleInputName2" ng-model="param.orderCode" placeholder="00001">
            </div>
            <button type="submit" class="btn btn-default" ng-click="search()">搜索</button>
        </div>
    </div>
    <div class="table-responsive">
        <table class="table">
            <tr>
                <th>订单编号</th>
                <th>订单标题</th>
                <th>佣金来源</th>
                <th>佣金</th>
                <th>到账时间</th>
            </tr>
            <tr ng-repeat="data in result.list">
                <td>{{data.orderCode}}</td>
                <td>{{data.orderTitle}}</td>
                <td>{{data.desc}}</td>
                <td>{{data.money}}</td>
                <td>{{data.createTime|date: 'yyyy-MM-dd'}}</td>
            </tr>
        </table>
        <div class="pagination-bar">
            <uib-pagination
                    total-items="result.page.totalData"
                    ng-model="result.page.currentNo"
                    max-size="2"
                    items-per-page="result.page.everyPage"
                    first-text="第一页"
                    previous-text="上一页"
                    next-text="下一页"
                    last-text="最后页"
                    boundary-links="true"
                    boundary-link-numbers="true"
                    ng-model="result.page.currentNo"
                    ng-change="onPageChange()"
            ></uib-pagination>
        </div>

    </div>
</div>
